from django import forms
import datetime
from django_quill.fields import QuillFormField

class EditorForm(forms.Form):
	title = forms.CharField(max_length=30, label="概述（标题）	", widget=forms.TextInput(attrs={'class':'form-control'}))
	spe_event = QuillFormField(label="发生了什么")
	date = forms.DateField(widget=forms.DateInput(attrs={'type':'date', 'class':'form-control'}), label="发生在何时")

class BanForm(forms.Form):
	code = forms.CharField(max_length=20, label="兑换卡ID", widget=forms.TextInput(attrs={'class': 'form-control'}))
